package validate

import "strconv"

func GetRowName(i int64) (name string) {
	for {
		yushu := i % 26
		name += string(yushu + 'A')
		i = i / 26
		if i == 0 {
			break
		}
	}
	return
}

func GetPosition(row int64, column int64) string {
	return strconv.Itoa(row) + "行" + GetRowName(column) + "列"
}
